import Vue from 'vue'
import App from './App'
import store from './store'
import router from './router'
import iView from 'iview'
import config from '@/config'
//import installPlugin from '@/plugin'
import Print from 'vue-print-nb'
import ElementUI from 'element-ui';
import fabric from 'fabric'
import 'element-ui/lib/theme-chalk/index.css';
import './index.less'
import '@/assets/icons/iconfont.css'

Vue.use(iView);
Vue.use(ElementUI);
Vue.use(Print);
Vue.use(fabric);

//installPlugin(Vue);

//生产环境关掉提示
Vue.config.productionTip = false;
//全局注册应用配置
Vue.prototype.$config = config;

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
}).$mount('#app');
